package org.jctc.els.modules.biz.entity.elsTeamMembers;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * els_team_members
 * @author 
 */
@ApiModel(description = "els_team_members")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("els_team_members")
public class ElsTeamMembers  extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 是否组长;0->否 1->是
     */
    @ApiModelProperty("是否组长;0->否 1->是")
    private Integer canLeader;

    /**
     * 乐观锁
     */
    @ApiModelProperty("乐观锁")
    private Long revision;


    /**
     * 小组id
     */
    @ApiModelProperty("小组id")
    private Long teamId;


    private String leaderName;
}